package com.basker.pisces.service.exception;

import com.basker.pisces.resource.StringResources;
import com.basker.pisces.service.constant.ServiceConstants;

/**
 * LoginContext未找到的异常
 *
 * @author hangwen
 */
public class LoginContextNotFoundException extends RuntimeException implements IServiceErrorResult {

    private static final long serialVersionUID = -8592032723131368894L;

    public LoginContextNotFoundException() {
        super(StringResources.get("pisces-core.LoginContextNotFoundException.message"));
    }

    @Override
    public int getStatus() {
        return ServiceConstants.StatusCode.LOGINCONTEXT_NOT_FOUND;
    }

}
